// src/api/login.js
import request from '@/utils/request';

export const loginWithPassword = (params) => {
    return request({
        url: '/auth/login',
        method: 'post',
        data: params
    })
}
export function getCaptcha() {
    return request({
        url: '/auth/captcha',
        method: 'get',
    });
}